package com.tierstall.shared;

public enum UserType {
	ADMIN("admin", 0),
	EDITOR("editor", 3),
	VIEWER("viewer", 6),
	GUEST("guest", 8);

	
	private String userType;
	private int level;
	
	UserType(String type, int level) {
		this.userType = type;
		this.level = level;
	}
	
	public String type(){
		return userType;
	}
	
	public int getSecurityLevel(){
		return level;
	}
}
